home *** CD-ROM | disk | FTP | other *** search
/ Winzipper / Winzipper_ISO.iso / utilities / comsuite 95 / COMMSUIT / ANNCTR.VM_ / ANNCTR.VM
Encoding:
Text File  |  1996-02-28  |  9.8 KB  |  608 lines

  1. ;
  2. ; AnnCtr
  3. ;
  4. ;   $header:    $
  5. ;
  6. ; assign the mailbox number
  7. [Startup]
  8. Action=boxid
  9. Prompt=$1
  10. Delay=0
  11. Default=checksupA
  12. Button=SOFTABORT
  13.  
  14. ; Determine if superuser or not and act accordingly
  15. [checksupA]
  16. Prompt=
  17. Action=noaction
  18. Menu14=Password
  19. Superuser=Password
  20. Delay=0
  21. Default=PlayAnnc
  22.  
  23. ; play the user announcement
  24. [PlayAnnc]
  25. Action=Play
  26. Prompt=$greeting
  27. Menu14=Password
  28. Superuser=Password
  29. ; exit so that the "Goodbye" is heard
  30. ;Default=GoodBye
  31. ;exit, so that the "Goodbye" is not heard
  32. ;Default=exit
  33. ; Only play the message once.....
  34. ;
  35. Menu08=FaxMode
  36. Menu09=DataMode
  37. ;Go back to Main Menu
  38. Default=Return
  39. Retries=3
  40. Delay=3
  41. Button=SOFTABORT
  42.  
  43. ; Switches to Fax mode
  44. [FaxMode]
  45. Action=FaxMode
  46. Prompt=
  47. Default=
  48. Delay=0
  49.  
  50. ; Switches to Data mode
  51. [DataMode]
  52. Action=DataRecv
  53. Prompt=
  54. Default=
  55. Delay=0
  56.  
  57. [exit]
  58. Prompt=
  59. Default=
  60. Delay=0
  61. Action=hangup
  62.  
  63. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  64. ;
  65. ; - Insert StdCtr below here and do the following
  66. ; to the code you have inserted.
  67. ;
  68. ;     - delete or comment out 'Startup' section
  69. ;     - delete or comment out 'CheckSuper' section
  70. ;     - delete or comment out 'Record' section
  71. ;     - delete or comment out 'EndRec' section
  72. ;     - delete or comment out 'DiskFull' section
  73. ;     - delete or comment out 'UserMenu' section
  74. ;     - delete or comment out 'Playback' section
  75. ;      - replace 'Prompt=Save' with 'Prompt=' in [Return] section
  76. ;
  77. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  78.  
  79. ;
  80. ; StdCtr 
  81. ;
  82.  
  83.  
  84. ; Notify user to start recording now
  85.  
  86. [PlayGreeting]
  87. Action=Play
  88. Prompt=$greeting
  89. Menu14=Password
  90. Superuser=Password
  91. Menu15=record
  92. ; this will play start recording now....
  93. ;Default=PlayGreeting2
  94. ; this will skip it
  95. Default=record
  96. Delay=0
  97. Button=SOFTABORT
  98.  
  99. [PlayGreeting2]
  100. Action=Play
  101. Prompt=V\STARTMSG.
  102. Menu14=Password
  103. Superuser=Password
  104. Default=Record
  105. Delay=0
  106. Button=SOFTABORT
  107.  
  108. ;
  109. ; Begin common
  110. ;
  111.  
  112. ; assign the mailbox number
  113. ;[Startup]
  114. ;Action=boxid
  115. ;Prompt=$1
  116. ;Delay=0
  117. ;Button=SOFTABORT
  118. ;Default=checksuper
  119.  
  120. ; Determine if leave msg or retrieve msg mode
  121. ;[checksuper]
  122. ;Prompt=
  123. ;Action=noaction
  124. ;Menu14=Password
  125. ;Superuser=Password
  126. ;Delay=0
  127. ;Default=PlayGreeting
  128.  
  129. ; Record the message
  130. ;[Record]
  131. ;Prompt=$message
  132. ;Action=record
  133. ;Error=DiskFull
  134. ;Default=EndRec
  135. ;Button=SOFTABORT
  136. ;Delay=1
  137.  
  138. ; Play - 'recording stopped'
  139. ;[EndRec]
  140. ;Action=Play
  141. ;Prompt=V\ENDREC.
  142. ;Menu01=Playback
  143. ;Menu02=Record
  144. ;Menu14=Return
  145. ;Menu15=GoodBye
  146. ;Default=UserMenu
  147. ;Retries=3
  148. ;Button=SOFTABORT
  149. ;Delay=0
  150.  
  151. ; Play - 'mailbox full'
  152. ;[DiskFull]
  153. ;Action=Play
  154. ;Prompt=V\ENDREC.+V\MBFULL.
  155. ;Menu01=Playback
  156. ;Menu14=Return
  157. ;Menu15=GoodBye
  158. ;Default=UserMenu
  159. ;Retries=3
  160. ;Delay=0
  161.  
  162. ; Allow user to hear instructions for playing back the message etc.
  163. ;[UserMenu]
  164. ;Action=Play
  165. ;Prompt=V\CALLMENU.
  166. ;Menu01=Playback
  167. ;Menu02=Record
  168. ;Menu14=Return
  169. ;Menu15=GoodBye
  170. ;Default=GoodBye
  171. ;Button=SOFTABORT
  172. ;Retries=2
  173. ;Delay=3
  174.  
  175. ; Play the message
  176. ;[Playback]
  177. ;Action=Play
  178. ;Prompt=$message
  179. ;Menu14=Return
  180. ;Menu15=UserMenu
  181. ;Default=UserMenu
  182. ;Button=SOFTABORT
  183. ;Delay=0
  184.  
  185. ; Save msg & exit
  186. [Return]
  187. Action=SetUser
  188. Prompt=
  189. Menu00=
  190. Default=MainMenu
  191.  
  192. [MainMenu]
  193. Action=ReturnMenu
  194. ;Prompt=Save
  195. Menu00=
  196. Default=
  197.  
  198.  
  199. ; Request user to enter password (limited to 2 digits)
  200. [Password]
  201. Prompt=V\PASSWRDQ.
  202. Action=capturedigits
  203. value=2
  204. Menu00=MatchSpecial
  205. Menu15=GoodBye
  206. Default=Password
  207. Retries=3
  208. Button=SOFTABORT
  209. Delay=6
  210.  
  211. ; Data discrimination
  212. [MatchSpecial]
  213. Action=matchdigits
  214. Prompt=9*
  215. Menu00=datadisc
  216. ;Value used in this menu to set limit on
  217. ;number of times MatchDig can be called
  218. Error=GoodBye
  219. Default=ChkFaxMode
  220. Delay=0
  221. ;
  222.  
  223. [ChkFaxMode]
  224. Action=matchdigits
  225. Prompt=8*
  226. Menu00=Faxmode
  227. ;Value used in this menu to set limit on
  228. ;number of times MatchDig can be called
  229. Error=GoodBye
  230. Default=MatchDigs
  231. Delay=0
  232. ;
  233.  
  234. [FaxMode]
  235. Action=Faxmode
  236. Prompt=
  237. Default=
  238. Delay=0
  239.  
  240.  
  241. [DataDisc]
  242. Action=datarecv
  243. Prompt=
  244. Menu00=
  245. Error=
  246. Default=
  247. ;
  248.  
  249. [MatchDigs]
  250. Action=matchdigits
  251. Prompt=$password
  252. Menu00=setsuper
  253. ;Value used in this menu to set limit on
  254. ;number of times MatchDig can be called
  255. Value=3
  256. Error=GoodBye
  257. Default=Password
  258. Delay=0
  259.  
  260. ;
  261. [setsuper]
  262. Action=setsuperuser
  263. Prompt=
  264. Default=EndOpt
  265.  
  266. ; Check for new messages
  267. [StartupCheck]
  268. Action=SetList
  269. Prompt=$newlist
  270. EmptyList=NoNew
  271. Default=NewInfo
  272. Retries=0
  273. Delay=0
  274.  
  275. ; Notify user no new messages
  276. [NoNew]
  277. Action=Play
  278. Prompt=V\NONEWMSG.
  279. Menu14=EndOpt
  280. Menu15=GoodBye
  281. Default=CheckOldList
  282. Retries=1
  283. Delay=1
  284. Button=SOFTABORT
  285.  
  286. ; Check for old messages
  287. [CheckOldList]
  288. Action=SetList
  289. Prompt=$OldList
  290. EmptyList=NoOld
  291. Default=OldInfo
  292. Retries=0
  293. Delay=0
  294. Button=SOFTABORT
  295.  
  296. ; Notify user no old messages
  297. [NoOld]
  298. Action=Play
  299. Prompt=V\NOOLDMSG.
  300. Menu14=EndOpt
  301. Menu15=GoodBye
  302. Default=EndOpt
  303. Retries=2
  304. Delay=1
  305. Button=SOFTABORT
  306.  
  307. ; Notify user count of new voice and fax messages
  308. [NewInfo]
  309. Action=Play
  310. Prompt=V\YOUHAVE.+$voiceMWI+V\JUSTNEW.+$ifone+V\VXMSG.|V\VXMSGS.+V\YOUHAVE.+$faxMWI+V\JUSTNEW.+$ifone+V\FAXMSG.|V\FAXMSGS.
  311. Menu06=GetFirst
  312. Menu14=EndOpt
  313. Menu15=GoodBye
  314. Default=GetFirst
  315. Retries=1
  316. Delay=2
  317. Button=SOFTABORT
  318.  
  319. ; Notify user count of old voice and fax messages
  320. [OldInfo]
  321. Action=Play
  322. Prompt=V\YOUHAVE.+$allMWI+V\OLD.+$ifone+V\MESSAGE.|V\MESSAGES.
  323. Menu06=GetFirst
  324. Menu14=EndOpt
  325. Menu15=GoodBye
  326. Default=GetFirst
  327. Retries=1
  328. Delay=1
  329. Button=SOFTABORT
  330.  
  331. ; Get first message
  332. [GetFirst]
  333. Action=GetMsg
  334. Prompt=$firstmsg
  335. Default=MsgInfo
  336. Retries=0
  337. Delay=0
  338. Button=SOFTABORT
  339.  
  340. ; Notify user about information for the message
  341. [MsgInfo]
  342. Action=Play
  343. Prompt=$current+V\RECEIVED.+$msgdate+V\AT.+$msgtime
  344. Menu05=GetPrev
  345. Menu06=GetNext
  346. Menu14=EndOpt
  347. Menu15=GoodBye
  348. Default=PlayMsg
  349. Retries=3
  350. Delay=2
  351. Button=SOFTABORT
  352.  
  353. ; Play current message
  354. [PlayMsg]
  355. Action=Play
  356. Prompt=$altmessage
  357. Menu05=GetPrev
  358. Menu06=GetNext
  359. Menu14=EndOpt
  360. Menu15=EndPlay
  361. Default=EndPlay
  362. Retries=3
  363. Delay=1
  364. Button=SOFTABORT
  365.  
  366. ; Prompt user to replay message,mark old,remove,get next message,or end
  367. [EndPlay]
  368. Action=Play
  369. Prompt=V\USERM1A.+$ifnew+V\USERM2A.+V\USERM3A+$iffax+V\USERM4.+V\USERM5A.+V\USERM6A.
  370. Menu01=Replay
  371. Menu02=MarkOld
  372. Menu03=RemMsg
  373. Menu04=FaxBack
  374. Menu05=GetPrev
  375. Menu06=GetNext
  376. Menu14=EndOpt
  377. Menu15=GoodBye
  378. Default=EndPlay
  379. Delay=2
  380. Button=SOFTABORT
  381. Retries=2
  382.  
  383. ; Get next message
  384. [GetNext]
  385. Action=GetMsg
  386. Prompt=$nextmsg
  387. Default=MsgInfo
  388. EndOfList=EndNew,EndOld
  389. Button=SOFTABORT
  390.  
  391. ; tell the user that this is the end of the new msg list
  392. [EndNew]
  393. Action=play
  394. Prompt=V\ENDNEW.
  395. Menu06=CheckOldList
  396. Menu14=EndOpt
  397. Menu15=GoodBye
  398. Default=CheckOldList
  399. Delay=1
  400. Retries=1 
  401. Button=SOFTABORT
  402.  
  403. ; Get previous message
  404. [GetPrev]
  405. Action=GetMsg
  406. Prompt=$prevmsg
  407. Default=MsgInfo
  408. Button=SOFTABORT
  409.  
  410. ; Fax back the fax message
  411. [FaxBack]
  412. Action=Faxback
  413. Prompt=$altmessage
  414. Default=FaxDone
  415. Error=EndPlay
  416. Delay=0
  417. Button=SOFTABORT
  418.  
  419. ; Notify user that fax message is queued for sending
  420. [FaxDone]
  421. Action=Play
  422. Prompt=V\FAXSEND.
  423. Menu06=FaxRead
  424. Menu14=Return
  425. Menu15=GoodBye
  426. Default=FaxRead
  427. Delay=1
  428. Button=SOFTABORT
  429.  
  430. ; Mark fax message as read
  431. [FaxRead]
  432. Action=UpdateMsg
  433. Prompt=$markread
  434. Default=GetNext
  435. Button=SOFTABORT
  436.  
  437. ; Mark message as old
  438. [MarkOld]
  439. Action=UpdateMsg
  440. Prompt=$markread
  441. Default=PlayOld
  442. Button=SOFTABORT
  443.  
  444. ; Notify user message marked as old
  445. [PlayOld]
  446. Action=Play
  447. Prompt=V\MARKOLD.
  448. Menu05=GetPrev
  449. Menu06=GetNext
  450. Menu14=EndOpt
  451. Menu15=GoodBye
  452. Default=GetNext
  453. Retries=1
  454. Delay=1
  455. Button=SOFTABORT
  456.  
  457. ; Remove message
  458. [RemMsg]
  459. Action=UpdateMsg
  460. Prompt=$remove
  461. Default=PlayRem
  462. Button=SOFTABORT
  463.  
  464. ; Notify user that message removed
  465. [PlayRem]
  466. Action=Play
  467. Prompt=V\REMOVED.
  468. Menu06=GetNext
  469. Menu14=EndOpt
  470. Menu15=GoodBye
  471. Default=GetNext
  472. Retries=1
  473. Delay=1
  474. Button=SOFTABORT
  475.  
  476. ; Replay the message
  477. [Replay]
  478. Action=Play
  479. Prompt=$altmessage
  480. Menu06=EndPlay
  481. Menu14=EndOpt
  482. Menu15=GoodBye
  483. Default=EndPlay
  484. Retries=3
  485. Delay=1
  486. Button=SOFTABORT
  487.  
  488. ; Tell the users that this is the end of the old message list
  489. [EndOld]
  490. Action=play
  491. Prompt=V\ENDSAVED.
  492. Menu14=EndOpt
  493. Menu15=GoodBye
  494. Default=EndOpt
  495. Delay=2
  496. Retries=1 
  497. Button=SOFTABORT
  498.  
  499. ; Prompt user to restart, change password, re-record spoken name, or exit
  500. [EndOpt]
  501. Action=Play
  502. Prompt=V\RESTART.+V\USERM7.+V\EXIT.
  503. Menu01=StartUpCheck
  504. Menu06=StartUpCheck
  505. Menu07=NewPass
  506. ;;;;;; Keeps the superuser mode when returning...
  507. ;;;;;;Menu14=ResetSuper
  508. Menu14=Return
  509. Menu15=GoodBye
  510. Default=EndOpt
  511. Retries=2
  512. Delay=2
  513. Button=SOFTABORT
  514.  
  515.  
  516. [ResetSuper]
  517. Action=SetUser
  518. Prompt=
  519. Menu00=
  520. Default=Return
  521.  
  522. ; password change 1/6. Ask for the new password (limited to 2 digits)
  523. [NewPass]
  524. Prompt=V\NEW.+V\PASSWORD.
  525. Action=password
  526. value=2
  527. Menu00=AgainDigs
  528. Default=NewPass
  529. Delay=5
  530. Button=SOFTABORT
  531.  
  532. ; password change 2/6. Ask for it again (limited to 2 digits)
  533. [AgainDigs]
  534. Prompt=V\NEW.+V\PASSWORD.+V\AGAIN.
  535. Action=capturedigits
  536. value=2
  537. Menu00=CheckPass
  538. Default=AgainDigs
  539. Delay=8
  540. Button=SOFTABORT
  541.  
  542. ; password change 3/6. compare the 2
  543. [CheckPass]
  544. Action=matchdigits
  545. Prompt=$password
  546. Menu00=WritePass
  547. Default=BadPass
  548. Delay=0
  549. Button=SOFTABORT
  550.  
  551. ; password change 4/6. Notify User that password change failed
  552. [BadPass]
  553. Action=Play
  554. Prompt=V\BADPASS.
  555. Delay=3
  556. Menu15=GoodBye
  557. Default=EndOpt
  558. Button=SOFTABORT
  559.  
  560. ; password change 5/6. Update the ini file with new password
  561. [WritePass]
  562. Action=WriteIniFile
  563. Prompt=$mailbox
  564. Default=WriteDone
  565. Delay=0
  566. Button=SOFTABORT
  567.  
  568. ; password change 6/6. Play 'DONE'
  569. [WriteDone]
  570. Action=Play
  571. Prompt=V\DONE.
  572. Menu14=EndOpt
  573. Menu15=GoodBye
  574. Default=EndOpt
  575. Delay=3
  576. Button=SOFTABORT
  577.  
  578. [SOFTABORT]
  579. Prompt=
  580. Action=exit
  581. Default=
  582. Delay=0
  583.  
  584. [GOODBYE]
  585. Prompt=
  586. Action=faxsend
  587. Default=WAVE_BYE
  588. Delay=0
  589. Menu00=FODFAXBACK
  590.  
  591. [FODFAXBACK]
  592. Prompt=FAXBACK.VMU
  593. Action=callmenu
  594. Default=WAVE_BYE
  595. Delay=0
  596.  
  597. [WAVE_BYE]
  598. Prompt=V\GOODBYE.
  599. Action=play
  600. Default=GOODBYE_BODY
  601. Delay=0
  602.  
  603. [GOODBYE_BODY]
  604. Prompt=
  605. Action=hangup
  606. Default=
  607. Delay=0
  608.